import objc
from Foundation import *
from PyObjCTools import AppHelper
#import Appkit
#NSObject = objc.lookUpClass("NSObject")
print("SB:",NSObject)
class MyClass(NSObject):
    def __new__(cls):
        print("------new------")
        print("new:",NSObject)
        print("new:",cls)
        cls = NSObject.alloc()
        print("new:",cls)
        return (cls)
    def init(self):
        #print("_init__");
        self = super(MyClass, self).init()
            #temp = 0;
        return self

my = MyClass().init()
